package com.huluobo.base.net;

/**
 * Created by LC on 2024/8/14.
 * 常量池
 */
public class Const {
    //基准请求地址
    public static final String BASE_URL = "http://10.161.9.80:7012";
    //登录接口
    public static final String URL_LOGIN = "/user/loginjson";
    //登录参数
    public static final String PARAM_USERNAME = "username";
    public static final String PARAM_PASSWORD = "password";

    //注册参数
    public static final String PARAM_RE_PASSWORD = "repassword";
    //注册接口
    public static final String URL_REGISTER = "/user/register";
    //token
    public static final String PARAM_TOKEN = "token";

    public static final String MEDIA_TYPE = "application/json;charset=utf-8";

    public static final String URL_BANNER = "/banner/json";

    //视频参数
    public static final String PARAM_CURRENT_PAGE = "currentPage";
    public static final String PARAM_PAGE_SIZE = "pageSize";

    //视频列表接口
    public static final String URL_VIDEOS = "/video/findVideos";

    //视频id
    public static final String PARAM_VIDEO_ID = "videoId";

    //点赞接口
    public static final String URL_LIKE_VIDEO = "/fav/love";
    //取消点赞
    public static final String URL_NO_LIKE_VIDEO = "/fav/nolove";

    //关注参数
    public static final String PARAM_AUTHNAME = "authname";
    //关注接口
    public static final String URL_FOLLOW = "/guanzhu/guanzhu";

    //通过视频id获取评论列表
    public static final String URL_GET_COMMENT = "/comment/getCommentByVideoId";

    //发布评论接口
    public static final String URL_SEND_COMMENT = "/comment/comment";
    public static final String PARAM_MSG = "msg";

    //取消关注接口
    public static final String URL_CANCEL_FOLLOW = "/guanzhu/noguanzhu";

    //礼物接口
    public static final String URL_GET_GIFT_LIST = "/gift/json";

    //聊天室ID
    public static final String CHAT_ROOM_ID = "257269755346945";

    //商品列表接口
    public static final String URL_GET_GOODS = "/goods/info";
    //商品接口参数
    public static final String PARAM_CATEGORY_ID = "category_id";

    public static final String URL_ADD_TO_CART = "/goods/addCar";

    public static final String PARAM_GOODS_ID = "goods_id";

    public static final String PARAM_COUNT = "count";

    public static final String URL_GET_CART_LIST = "/goods/selectCar";

    public static final String PARAM_IDS = "ids";
    public static final String URL_DELETE_CART = "/goods/deleteCar";

    public static final String URL_SETTING_ICON = "/user/updateIcon";
    public static final String PARAM_FILE = "file";
    public static final String URL_SETTING_ADDRESS = "/user/updateAddress";
    public static final String PARAM_ADDRESS = "address";
    public static final String URL_SETTING_BRITH = "/user/updateBrith";
    public static final String PARAM_BRITH = "brith";
    public static final String URL_SETTING_NICKNAME = "/user/updateNickname";
    public static final String PARAM_NICKNAME = "nickname ";
    public static final String URL_SETTING_SEX = "/user/updateSex";
    public static final String PARAM_SEX = "sex";

}
